using System;
using UnityEngine;

namespace Voodoo.Sauce.Internal.CrossPromo.Utils
{
	internal static class CacheManager
	{
		private const string CacheDirectoryName = "VoodooAds";

		public static readonly string Path = Application.temporaryCachePath + "/VoodooAds/";

		public static void CreateCacheIfNoExist()
		{
		}

		public static void WriteFile(string filePath, byte[] bytes)
		{
		}

		public static string[] GetAllFilesFromCache()
		{
			return new string[0];
		}

		public static bool IsFileExist(string filePath)
		{
			return false;
		}

		public static void DeleteFile(string filePath)
		{
		}

		public static bool CompareTwoFilesName(string path1, string path2)
		{
			string key = PlayerPrefsUtils.GetKey(path1);
			string key2 = PlayerPrefsUtils.GetKey(path2);
			try
			{
				return key.Equals(key2);
			}
			catch (Exception)
			{
				return false;
			}
		}

		public static string GetCurrentDirectory(string filePath)
		{
			return null;
		}

		private static void CreateDirectoriesIfNoExist(string path, bool fromFilePath = false)
		{
		}
	}
}
